Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding “name” field to payload;updated nimble to version 7.3.4 #833

Merged
merged 1 commit into from
Jul 19, 2019

Conversation

danieljackins
Copy link
Contributor

@danieljackins danieljackins commented Jul 19, 2019

What does this PR do?
Add's collection of "name" field to the iOS library, and updates Nimble to version 7.3.4
Where should the reviewer start?
N/A
How should this be manually tested?
N/A
Any background context you want to provide?
Done to match collection of data in Android library. Android was collecting both the model and name of the device, whereas iOS was only collecting the model. Libraries will now have parity and match the Segment Spec.
What are the relevant tickets?
https://segment.atlassian.net/browse/LIB-837
Screenshots or screencasts (if UI/UX change)
N/A
Questions:

  • Does the docs need an update?
    No, this is how functionality was outlined in the Spec to begin with.
  • Are there any security concerns?
    N/A
  • Do we need to update engineering / success?
    Unsure

@f2prateek
Copy link
Contributor

I'd generally like to see unrelated changes split into different PRs. So in this case, I'd do one for the Nimble update and one for the name change.

For the name change - is there a test we could add as well?

@bsneed
Copy link
Contributor

bsneed commented Jul 19, 2019

I'd generally like to see unrelated changes split into different PRs. So in this case, I'd do one for the Nimble update and one for the name change.

@f2prateek ^

In general, I'd agree, however in this case I feel like it adds unnecessary work since that change was required just to get tests to compile.

Re the test, if we can add it quickly, we should. If not, which is what I suspect given our tests can't be run in isolation, maybe skip it for now since this is overall a one-line change.

Copy link
Contributor

@bsneed bsneed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. If a test can be done easily, lets add that first.

Copy link
Contributor

@f2prateek f2prateek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I'd agree, however in this case I feel like it adds unnecessary work since that change was required just to get tests to compile.

I think that's good reason to separate these out, as it sounds like the dependency update change has value independently of the device model portion of the change.

For instance we might find a bug in how we're collecting the device model, and might want to revert only that portion of the change. Or we might find a bug in the dependency change, and might want to revert only that portion of the change. Breaking them into two PRs would allow us to revert them independently.

This isn't a strict requirement though, so happy to approve!

@danieljackins danieljackins merged commit cf99cb6 into master Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants